<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php echo $site_title;?></title>
		<link href="<?php echo base_url(); ?>resources/style/style.css" rel="stylesheet" type="text/css"/>
		
	</head>
	<body>
		<!-- container begin -->
		<div id="container">
			<div id="header">
				<div id="logo"><div><a href="<?php echo base_url();?>" ></a></div>
				<div class="urlstyle">LZ Chinese</div></div>
				<div id="logo_right">
					<!-- <div id="header_link"><a href="#">学员反馈</a> <a href="#">常见问题</a> [<a href="#">登 录</a> <a href="#">注 册</a>]</div> -->
					<div id="language"><a href="#" onclick="changeL('cn');">中文</a>|<a href="#" onclick="changeL('en');">English</a></div>
					<div id="navigator">
							<div class="tab<?php echo $tab == 'index'?' on':''; ?>"><a href="<?php echo base_url();?>"><?php echo $naviTits[0];?></a></div>
							<div class="tab<?php echo $tab == 'about'?' on':''; ?>"><a href="<?php echo base_url();?>index.php/home/about"><?php echo $naviTits[1];?></a></div>
							<div class="tab<?php echo $tab == 'course'?' on':''; ?>" onmouseover="showSubList('SubListCourse');" onmouseout="hideSubList('SubListCourse')" >
								<a href="<?php echo base_url();?>index.php/home/course"><?php echo $naviTits[2];?></a>
									<ul id="SubListCourse">
									<?php
									foreach($subNaviTits['Course'] as $k=>$v){
										$k++;
										echo '<li><a href="#" onclick="showCourse('. $k .',\'course\')">' . $v . '</a></li>';
									}
									?>
								 		<!-- <li><a href="#" onclick="showCourse(1,'course')">实用口语课程</a></li>
								 		<li><a href="#" onclick="showCourse(2,'course')">外交汉语课程</a></li>
								 		<li><a href="#" onclick="showCourse(3,'course')">HSK课程</a></li>
								 		<li><a href="#" onclick="showCourse(4,'course')">商务汉语课程</a></li>
								 		<li><a href="#" onclick="showCourse(5,'course')">专项汉语课程</a></li> -->
								 </ul>
							</div>
							<div class="tab<?php echo $tab == 'cnknowledge'?' on':''; ?>" onmouseover="showSubList('SubListCn');" onmouseout="hideSubList('SubListCn')" >
								<a href="<?php echo base_url();?>index.php/home/cnknowledge"><?php echo $naviTits[3];?></a>
									<ul id="SubListCn">
									<?php
									foreach($subNaviTits['Knowledge'] as $k=>$v){
										$k++;
										echo '<li><a href="#" onclick="showCourse('. $k .',\'cnknowledge\')">' . $v . '</a></li>';
									}
									?>
									 		<!--  <li><a href="#" onclick="showCourse(1,'cnknowledge')">语音知识</a></li>
									 		<li><a href="#" onclick="showCourse(2,'cnknowledge')">语法知识</a></li>
									 		<li><a href="#" onclick="showCourse(3,'cnknowledge')">历史知识</a></li>
									 		<li><a href="#" onclick="showCourse(4,'cnknowledge')">文学常识</a></li> -->
									 </ul>
							</div>
							<div class="tab<?php echo $tab == 'contact'?' on':''; ?>"><a href="<?php echo base_url();?>index.php/home/contact"><?php echo $naviTits[4];?></a></div>
 
					</div>
				</div>
			</div>
			<div id="body">